package nacos_zuul.fegin;

import nacos_zuul.hystrix.MyHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author A夜兔A
 * @data 2022年04月10日 23:10
 */
@FeignClient(value = "nacos-authoa",fallback = MyHystrix.class)
public interface NacosAuthoaFegin {
    @GetMapping("/nacos-authoa/isPermitted")
    String isPermitted(@RequestParam String requestURI, @RequestParam String token);
}
